package org.aeon.heroicsagatextedition.utils;

import org.aeon.heroicsagatextedition.constants.Color;

/**
 * @projectName: HeroicSagaTextEdition
 * @package: org.aeon.heroicsagatextedition.utils
 * @className: FontColors
 * @author: MissingAeon
 * @date: 2023/12/27 15:10
 * @description:
 */
public class FontColors {
    public static String coloring(String str, String... color) {
        return StringUtils.arrayToString((Object[]) color) + str + Color.RESET;
    }

    public static String coloring(Object str, String... color) {
        return coloring(str.toString(), color);
    }
}
